//
//  CategoryNewViewController.h
//  TimeTracker
//
//  Created by Michael Flakus on 3/2/13.
//  Copyright (c) 2013 Michael Flakus. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>

@interface CategoryNewViewController : UIViewController

// UI Widgets
@property (nonatomic, retain) IBOutlet UITextField *categoryNameTextField;

// Error Message Alerts
@property (nonatomic, retain) IBOutlet UIAlertView *missingCategoryError;


// input fields
@property (nonatomic, retain) NSString *categoryName;

// database variables
@property (nonatomic) sqlite3 *database;
@property (strong, nonatomic) NSString *databasePath;


- (IBAction)cancel;
- (IBAction)save;

@end
